package com.cie2.janji.pages.admin;

import java.util.List;

import org.apache.tapestry5.annotations.Property;
import org.apache.tapestry5.ioc.annotations.Inject;

import com.cie2.janji.base.CieAdminPage;
import com.cie2.janji.entities.User;
import com.cie2.janji.services.UserManagement;

public class UserList extends CieAdminPage {

	@Property
	private User user;
	
	//services
    @Inject
    private UserManagement userManagement;
	
	public List getUserList() {
		return userManagement.getActiveUser();
	}
}
